package command

import (
	"ssadmin/internal/admin/models"
)

type SysLogoReq struct {
	Id         string `json:"-" comment:""`
	Creator    string `json:"-" comment:""`
	Systemid   string `json:"-" comment:""`
	UserId     string `json:"-" comment:""`
	UserName   string `json:"username" comment:""`
	Logo       string `json:"logo" comment:""`
	SystemName string `json:"systemName" comment:""`
	Home       string `json:"home" comment:""`
}

func (s *SysLogoReq) Generate(model *models.SysLogo) {
	model.Systemid = s.Systemid
	model.UserId = s.UserId
	model.UserName = s.UserName
	model.Logo = s.Logo
	model.Home = s.Home
	model.SystemName = s.SystemName
}
